package com.xncoding.minispring.Concrete;

import com.xncoding.minispring.inter.IObserver;

/**
 * 具体观察者
 */
public class ConcreteObserver implements IObserver {

    @Override
    public void update(String event) {
        System.out.println("观察者: 收到被观察者的温度变动: " + event);
    }
}